<template>
    <router-view />
  <!-- <div>
    <div class="footer_wrap">
      在vue-router里面 还有一个指令  router-link
      <a href="javascript:;">发现音乐</a>
      <a href="javascript:;">我的音乐</a>
      <a href="javascript:;">朋友</a>
      <router-link to="/find" >发现音乐</router-link>
      <router-link to="/music?key=周杰伦&type=古典" >朋友</router-link>
      <router-link to="/friend" >查找</router-link>
    </div>
    <div class="top">
      <router-view />
    </div>
  </div> -->
</template>

<script>
export default {};
</script>

<style>
/* css优先级 1 10 100 1000 !important */
.footer_wrap a.router-link-active {
  background-color: pink;
  color: black;
  font-size: 20px;
}
.footer_wrap a.heima-95-exact-active {
  background-color: greenyellow;
  color: black;
  font-size: 25px;
}
body {
  margin: 0;
  padding: 0;
}
.footer_wrap {
  position: relative;
  left: 0;
  top: 0;
  display: flex;
  width: 100%;
  text-align: center;
  background-color: #333;
  color: #ccc;
}
.footer_wrap a {
  flex: 1;
  text-decoration: none;
  padding: 20px 0;
  line-height: 20px;
  background-color: #333;
  color: #ccc;
  border: 1px solid black;
}
.footer_wrap a:hover {
  background-color: rgb(212, 19, 237);
}
</style>